feat(apollo-react): add remark-breaks to sticky note markdown rendering, scroll improvements (3/3) [MST-7636]#430
Open
david-rios-uipath wants to merge 2 commits intofeat/sticky-note-formatting-toolbar-v2from
Conversation
5 tasks
Contributor
Author
Current Stack
|
5 tasks
Dependency License Review
License distribution
Excluded packages
|
snuziale
approved these changes
Apr 1, 2026
Single newlines in sticky notes now render as <br> instead of being collapsed by the markdown parser, matching user expectations for line breaks in a note-taking context. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ce8b974 to
1e5fb4f
Compare
fe4c2c3 to
b6e0981
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are two main changes in this PR:
1. Line break rendering support
Adds
remark-breaks(remark plugin) to turn soft line endings (enters) into hard breaks. This makes our line end behavior fall more closely in line with what a user would expect from a WYSIWYG editor (i.e. FigJam sticky notes)Before
After
2. Simpler scrolling on overflow
Only adds
nowheelclass to the sticky note element when thewheelevent starts on the sticky note. This prevents the sudden cancellation of canvas scroll inertia (e.g. if the user starts scrolling outside the sticky note and their cursor ends up within the sticky note, we continue navigating on the canvas and ignore sticky note scroll behavior).Before
User has to manually drag the scrollbar to scroll on a sticky note w/ overflow
2026-03-31.11.01.42.mp4
After
2026-03-31.10.55.53.mp4